package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.SearchProductUnitDaoInter;
import com.mpyy.pojo.ProductUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Descoription SearchProductUnitServiceImpl
 * @Author CG
 * @date 2022-03-22
 */
@Service(value = "searchProductUnitServiceImpl")
public class SearchProductUnitServiceImpl implements SearchProductUnitServiceInter {
    @Autowired
    @Qualifier(value = "searchProductUnitDaoInter")
    private SearchProductUnitDaoInter searchProductUnit;

    @Override
    public List<ProductUnit> searchProductUnit() {

        return searchProductUnit.searchProductUnit();
    }
}
